抱歉,您的浏览器无法访问本站
本页面需要浏览器支持(启用)JavaScript
了解详情 >

Deploy a contract

tips: 宝藏博客

1. 题目要求

  • 1.1 To complete this challenge, you need to:

    1. Install MetaMask.
    2. Switch to the Ropsten test network.
    3. Get some Ropsten ether. Clicking the “buy” button in MetaMask will take you to a faucet that gives out free test ether.

    After you’ve done that, press the red button on the left to deploy the challenge contract.

    You don’t need to do anything with the contract once it’s deployed. Just click the “Check Solution” button to verify that you deployed successfully.

  • 1.2 题目代码:

1
2
3
4
5
6
7
8
pragma solidity ^0.4.21;

contract DeployChallenge {
// This tells the CaptureTheFlag contract that the challenge is complete.
function isComplete() public pure returns (bool) {
return true;
}
}

2. 分析

  • 2.1 该题很简单,直接放到remix 上面部署就ok 了

3. 解题

评论



政策 · 统计 | 本站使用 Volantis 主题设计